<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
require ("db_conn.php");
//包含连接文件

$sql="SELECT * FROM `t7_lxwm` where 1 ";//isshow=1 取n个


$lxrs=$db->query($sql);//执行语句 $rs是一个结果集
$lxrows=$lxrs->fetch_all(MYSQLI_ASSOC);//包括所有行

   


require 'method_html.php';
   //释放结果集

     $lxrs->free();

   //关闭数据库

   $db->close();

   
